//
//  DrawerViewController.h
//  MusicPC
//
//  Created by PengchengWang on 16/2/24.
//  Copyright © 2016年 pengchengWang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DrawerViewController : UIViewController
//中间视图控制器
@property(nonatomic,strong)UIViewController *rootVC;
//侧滑栏控制器
@property(nonatomic,strong)UIViewController *leftVC;
//手势
@property(nonatomic,strong)UITapGestureRecognizer *tap;

//设置中间视图控制器
-(void)setRootViewController:(UIViewController*)viewcontroller;
//展示中间视图的方法(关闭抽屉)
-(void)showRootViewController:(UIViewController*)rootViewController;
//打开抽屉
-(void)showleftViewController:(UIViewController*)leftViewController;



@end
